package cn.DesignModel.factoryMethod;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class Demo {
    public static void main(String[] args) {
        PizzaStore store = new PizzaFactory();
        Pizza cheese = store.orderPizza("cheese");
        System.out.println("---------------");
        store.orderPizza("durian");

    }


}
